home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
By Popular Request 2.0
/
By Popular Request 2.0 (Arsenal Computer).ISO
/
amiga_3
/
giga171.lha
/
giga.doc
next >
Wrap
Text File
|
1995-06-25
|
7KB
|
239 lines
giga.device, version 1.71, 26.6.1995, Copyright by Christoph Dworzak
--------------------------------------------------------------------
(I don't like to write docs, so this will be short...)
Introduction
------------
Some time ago, I bought a Seagate Elite Harddisk with 9GB (actually
it has only ~8.5GB, but MarketingPeople tend to _miscalculate_ a
little bit. In this Document one GigaByte equals 2^32 Byte).
After connecting this Drive, I started using it, but I got some
strange things going. Some data disappeared, a lot of files became
corrupt....
Some closer examinations revealed that the AmigaOS can only handle
Drives up to 4GB.
My pride as a ComputerFreak did not allow me to give up, until I
could fully use this drive :-) So I wrote giga.device.
Whats this 4GB-limit?
---------------------
The Amiga uses device-drivers to access the Hardware. One of these
dirvers is scsi.device (other Manufacturers than Commodore call it
differently, e.g. warpdrive.device, oktagon.device,....).
Now to access this scsi.device a program has to specify what to
read or write. And exactly there is the problem.
The Location is defined as a ByteOffset to de beginning of the
drive. This Offset is a ulong, that means the largest Offset is
2^32 Byte. So you can not access more than 4GB.
It doesn't matter if you make many Pertitions or not. This Offset
is on the device-level.
Also a new FileSystem cannot change this (except doing something
like giga.device does).
Amiga Technologies (Commodore) should define new calls with 64
Bit_Pointer as soon as possible. Until this happens you may live
with giga.device.
There is another thing to say: In the early days of the AmigaOS,
this Offset was defined as a long. That would allow +/- 2GB (but
whats a negative HarddiskSize anyway?).
So some programs, which use this old definition, have some troubles
with sizes above 2GB.
For example, see how "info" works...
******************************************************************
Ram Disk:T> info Big0:
Mounted disks:
Unit Size Used Free Full Errs Status Name
E10: -2049K 8310650 73860 99% 0 Read/Write BIG0
Volumes available:
BIG0 [Mounted]
Ram Disk:T>
******************************************************************
The Partition E10 is 4GB big... (but it still works, it just looks
a _little_ strange :-)
How does it work?
-----------------
giga.device _sits on top_ of the scsi.device. It divides the Harddisk
into several smaller Disks.
Instead of a 9GB Harddisk, I have now two Disks with 4GB each and one
drive with the rest.
Above I told you, that it is not possible to access more than 4GB,
but now i tell you that giga.device does exactly this?
Now, it bypasses the scsi.device by using scsi-direct-calls. I am
not going to explain this. You just have to make shure, that your
scsi.device understand these calls.
I don't know if every scsi.device is compatible with giga.device.
So far I tested only the scsi.device from Commodore on a A3000T
and the warpdrive.device from the Warpengine on a A4000.
Installation
------------
-First of all make a Backup of all your data. As you know Murphy,
something _will_ go wrong...
-For the demo-version you have to set the big Harddisk as Unit 0!
In the registered Version, you may choose any Unitnumber you want.
(Question to the professionals out there: how do I pass Parameters
to a device?)
-Copy giga.device into devs:
-Then add the following ToolType to the HDToolBox (DeviceNames are
case sensitive!):
SCSI_DEVICE_NAME=giga.device
-Then start HDToolBox. Now you should see some new drives. You may
make Partitions exactly the same as always (rtfm).
There is one thing to know: Unit 0 from giga.device is the same
as you would see with the scsi.device, just limited in size.
As giga.device is not loaded at startup, you cannot boot from giga-
device. But you can still boot from scsi.device.
(ok, I know, it's quiet confuseing. Just try it).
To mount the drive, you may use something like ScsiMounter
(AmiNet:DISK/MISC/SCSIMOUNTER203.LHA by Martin A. Blatter).
My S:User-Startup looks something like this:
******************************************************************
scsimounter >nil: d elite0.device 1
scsimounter >nil: d elite0.device 2
******************************************************************
You don't have to mount Unit 0, as this was already mounted at
startup via scsi.device.
Shareware
---------
To get your own unlimited giga.device you have to pay me something
(don't tell me, that you are a _poor student_. You just bought a
drive with more than 4GB :-)
The demo-version of giga.device is freely distributable. You may use
it as long as you want (but i still like to hear about bugs and so).
I suggest 5$/GB. But as this is the first release of giga.device,
I am open for discussions.
To get a registered Version you have to fill in the following form
(you may write more, just in case I forgot something):
******************************************************************
GigaDeviceRegistration
----------------------
Name:
Address:
E-Mail:
ScsiName (scsi.device, warpdrive.device, oktagon.device,...):
ScsiUnit (0-7):
HarddiskSize (in GB):
Max. simulated HarddiskSize you like to have (2GB should work
everywere. 4GB may give some strange results, but allows for
bigger Partitions...):
How did you pay? (cash,...):
How do you get yor giga.device (eMail, snailMail,...? Please
add appropriate postage):
******************************************************************
Legals
------
I hate these things...
giga.device is copyright 1994-1995 by Christoph Dworzak
The demo-version with the 6GB-Limit is free.
Any other Version have to be paid to me and may only be used on one
Computer.
The software is provided as is. There is no warranty.
I _may_ correct Bugs or make Enhancements, but I don't have to!
(If you ask nicely, I will probably do it. but my time is limited,
so it may take a while... :-)
If any Distributor likes to sell giga.device -> contact me. I am quiet
shure that we will find an agreement.
Author
------
Christoph Dworzak
Molzgasse 10
2502 Biel
Switzerland
Tel. ++41-32-501911
BBS/Fax ++41-32-501915
BBS/ISDN ++41-32-501919
eMail: dworz@link-ch1.limmat.net.ch
SwissAmiNet: ZyXEL 44:8010/409.0
ISDN 44:8010/410.0
AmigaNet: 39:110/409.0
PC-Konto (Swiss PTT): 30-96030-7
Bank: Swiss Bank Corporation
48-106,203.0
Bye
dworz
PS: Thats probably the longest Doc I ever wrote. If anybody likes to do it
better -> email me. You may get giga.device in Retrun for your work.